home *** CD-ROM | disk | FTP | other *** search
- Vars.txt
- --------
-
- Variables that the program uses throughout are on lines 8 thru 20 of
- AFE.CMD. The purpose of these definitions is so that you will only have
- to edit them in one place. Modify only what is to the right of the
- = sign.
-
- The first thing you will need to do to make the program work, is to
- define these variables for drives, directories, filenames, and program
- names for your particular system.
-
- Here is my best explanation of what they represent so you can modify
- them to suit your needs.
-
- A general rule: don't forget the 's where I have them!
-
-
- Programs
- --------
-
- UNZIPPER = 'unzip -oj'
-
- The unzip command and args. I use the PD version of UNZIP for OS/2.
- The rest of the program assumes that it's okay to overwrite existing
- files of the same name in the directory that you will define later. I
- also prefer that the ZIP file doesn't create subdirectories. If you
- omit this restriction, you're opening a can of worms with this program.
-
- ZIPPER = 'zip -oj9'
-
- The ZIP command and args. I'm using the PD ZIP program, too. Again,
- I assume that it's okay to overwrite existing files within an archive I
- am updating (You will be warned if you try to create a NEW archive and one
- already exists with the same name). Remember that you can view the
- contents of the archive before you do anything to it. I don't want to
- store any directory information, and I use maximum compression.
-
- UNLZHER = 'lh2 x'
-
- The unLZH command and eXtract option. I am using the OS/2 PD version.
- (In fact, the only OS/2 version I don't remember the original name of
- the program, but I renamed it LH2.EXE.
-
- LZHER = 'lh2 a'
-
- The command and argument to create or add to an LZH archive. Using the
- same program as mentioned above.
-
- SCANNER = 'd:\ref\scan 'workdir'/A/BELL/NOPAUSE/REPORT 'SCANRPT''
-
- This is actually the entire command line for running SCAN. I renamed
- McAfee's OS2SCAN.EXE to SCAN.EXE and provide the path to the program.
- I will explain the 'workdir' and 'SCANRPT' which are embedded in the
- command line, later. I won't explain the options I use, I assume that
- you can read the OSCANxx.DOC, but the program assumes these options
- are being used and some of the code depends on the results, so unless
- you are going to modidify the program (AFE.CMD) I suggest you use
- OS2SCAN and stick with these options. Of course, you can change the
- path and filespec for the SCAN program to suit your system.
-
-
- Drives/Directories/Filenames/Etc.
- ---------------------------------
-
- I do all my data file work on my d: drive, but you are not restricted by
- the program from using directories across drives, except that the
- "WORKDIR" should be on the "WORKDRIVE".
-
- WORKDIR = 'd:\$temp'
-
- This is a temporary directory that the program creates, and does just
- about all its work in. It is removed automatically by the program.
- Remember the SCANNER variable? You can see that when the program scans
- an archive, this is the directory where the archive is expanded to for
- test, as well as just about everything else, initially.
-
- WORKDRIVE = 'd:'
-
- The drive on which the WORKDIR is created.
-
- UNARCDIR = 'd:\temp'
-
- This is the directory (it's actually a permanent directory) where you
- want to put the expanded files from an archive.
-
- PICKDIR = 'd:\temp'
-
- This directory is where the program will (as the default) look for files
- to create or add to an archive. When you use the program to create or
- update an archive one of your options is to use all the files in this
- directory. The other option you are presented with, is to select files
- individually to add to the list of files to make up or add to an archive.
- If you select this option, the program will give you a File Selection
- Dialog in the PICKDIR by default. You can, however click on the dialog
- box to change to another place to grab a file.
-
- Note: it doesn't *have* to be the same as the UNARCDIR.
-
- FILESDIRNAME = 'TEMP dir'
-
- This really isn't a path. It's actually a variable that is used to fill
- the titlebar of the dialog box that you are presented with when you
- choose to add to or create an archive. It is supposed to represent the
- PICKDIR. Note that there is very limited space on this particular
- titlebar, But it won't hurt anything but cosmetics if you make it too
- long.
-
- ARCDIR = 'd:\dlf'
-
- This is where I normally keep my downloaded archive files until I stash
- them away. Whatever you define here will cause three things. First,
- this is the default directory where the program will look for archives
- to expand. However, you can alternatively switch somewhere else from
- the files dialog box. Secondly, this is where the program by default
- will look first for an archive to update when you have selected that
- activity. Third, when you create a new archive, this is the directory
- where the program will put it.
-
- SCANRPT = 'd:\dlf\arcscan.rpt'
-
- This is the fully qualified filespec for the report file that SCAN will
- generate. Note that the program will delete this file automatically,
- except when SCAN detects a problem. You can put this file anywhere you
- want, but don't put it in the 'WORKDIR'.
-
- CHIRP = y
-
- This is a very quiet, unobtrusive little chirp that sounds when a message
- that requires your attention is put on the screen, such as when you choose
- to create an new archive and one of the same name already exists. If you
- don't want any chirp, then set this to "n". Before you automatically set
- this to "n", try the above scenario.
-
- Note: This WILL NOT change the not-so-unobtrusive noise that is made when
- a virus is detected!
-